<template>
	<view>
		<!-- 背景图 -->
		<image class="loginBackImage" src="@/static/img/login_new_img/loginBackImage.png" mode=""></image>

		<view class="container">
			<view class="userInfo">
				<view>
					<image class="userImage" src="../../../static/img/video.png" mode=""></image>
				</view>
				<view class="user-info">
					<view>
						<view class="userName">
							灵魂摆渡人
						</view>
						<view class="authentication">
							<view class="userId">
								ID:3232442
							</view>
							<view class="userIdentity">
								代理商
							</view>
						</view>
					</view>
				</view>
			</view>

			<view class="figures">
				<view class="figures-item" v-for="item in 4">
					<view class="count">
						200.00
					</view>
					<view class="text">
						今日收益
					</view>
				</view>
			</view>

			<view class="frame">
				<view class="frameTitle">
					公司框架
				</view>
				<view class="frameData">
					<view class="frameDataItem" v-for="item in 8">
						<view class="itemCenter">
							<view>
								0/1
							</view>
							<view>
								<strong>5GP</strong>
							</view>
						</view>
					</view>
				</view>
			</view>

			<view class="function">
				<view class="functionTitle">
					常用功能
				</view>
				<view class="functionData">
					<view class="functionDataItem" v-for="item in 8">
						<view class="itemCenter">
							<view>
								<image src="../../../static/img/video.png" mode=""></image>
							</view>
							<view>
								余额明细
							</view>
						</view>
					</view>
				</view>
			</view>
		</view>

		<view class="tabbar">
			<view class="tabbarCenter">
				<view class="item">
					<image src="../../../static/img/pagesNew/index.png" mode=""></image>
					<view class="text">
						设备
					</view>
				</view>
				<view class="item">
					<image src="../../../static/img/pagesNew/mine_a.png" mode=""></image>
					<view class="text active">
						我的
					</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			};
		}
	}
</script>

<style lang="less" scoped>
	page,
	html {
		font-family: 'Regular', sans-serif;
		background-color: #F1F3F5;
	}

	.loginBackImage {
		width: 100%;
		height: 800rpx;
		position: absolute;
		z-index: 0;
	}

	.container {
		position: relative;
		width: 720rpx;
		margin: auto;
		padding-top: 34rpx;

		.userInfo {
			display: flex;

			.userImage {
				width: 155rpx;
				height: 155rpx;
				border-radius: 100%;
				margin-right: 15rpx;
			}

			.user-info {
				display: flex;
				align-items: center;

				.userName {
					font-weight: bold;
					font-size: 35rpx;
					margin-bottom: 10rpx;
				}

				.authentication {
					color: rgba(255, 255, 255, 0.8);
					display: flex;
					font-size: 26rpx;

					.userId {
						background-color: #F8B551;
						padding: 5rpx 15rpx;
						border-radius: 10rpx;
						margin-right: 13rpx;
					}

					.userIdentity {
						background-color: #8D6DFF;
						padding: 5rpx 36rpx;
						border-radius: 10rpx;
						margin-right: 13rpx;
					}
				}
			}
		}

		.figures {
			padding-top: 20rpx;
			display: flex;
			justify-content: space-around;
			font-size: 28rpx;
			width: calc(100% - 20rpx);
			margin: auto;

			.figures-item {
				text-align: center;

				.count {
					margin-bottom: -5rpx;
				}

			}
		}

		.frame {
			width: 95%;
			padding: 25rpx 30rpx;
			margin: auto;
			background-color: #fff;
			border-radius: 20rpx;
			margin-top: 20rpx;

			.frameTitle {
				font-size: 34rpx;
				font-weight: bold;
			}

			.frameData {
				margin-top: 9rpx;
				display: flex;
				flex-wrap: wrap;
				justify-content: space-between;

				.frameDataItem {
					margin-top: 21rpx;
					width: 132rpx;
					border-radius: 20rpx;
					height: 132rpx;
					border: 4rpx solid #8D6DFF;
					background-color: #EFEBFF;
					display: flex;
					justify-content: center;
					align-items: center;

					.itemCenter {
						text-align: center;
					}
				}
			}
		}

		.function {
			width: 95%;
			padding: 25rpx 25rpx;
			margin: auto;
			background-color: #fff;
			border-radius: 20rpx;
			margin-top: 20rpx;

			.functionTitle {
				font-size: 34rpx;
				font-weight: bold;
				padding-top: 15rpx;
			}

			.functionData {
				// margin-top: 9rpx;
				display: flex;
				flex-wrap: wrap;
				justify-content: space-between;

				.functionDataItem {
					margin-top: 21rpx;
					width: 132rpx;
					border-radius: 20rpx;
					height: 132rpx;
					display: flex;
					justify-content: center;
					align-items: center;

					.itemCenter {
						text-align: center;

						image {
							width: 83rpx;
							height: 83rpx;
						}
					}
				}
			}
		}
	}

	.tabbar {
		width: 100%;
		height: 120rpx;
		background-color: #fff;
		position: fixed;
		bottom: 0%;
		display: flex;
		align-items: center;
		justify-content: center;

		.tabbarCenter {
			width: 93%;
			margin: auto;
			display: flex;
			align-items: center;
			justify-content: space-around;

			.item {
				display: flex;
				justify-content: center;
				align-items: center;
				flex-direction: column;
				font-size: 28rpx;

				image {
					width: 53rpx;
					height: 53rpx;
				}

				.text {
					padding-top: 5rpx;
					color: #CFD2D9;
				}

				.active {
					color: #0086EF;
				}
			}
		}
	}
</style>